package com.gdssoft.pdaweb.dao.am;
/*
 *  捷达世软件（深圳）有限公司
 *  Copyright (C) 2008-2010 ShenZhen JieDaShi Software Limited Company.
*/
import java.util.List;

import com.gdssoft.core.dao.BaseDao;
import com.gdssoft.framework.model.system.AppUser;
import com.gdssoft.pdaweb.model.am.PdaAmMeter;
import com.gdssoft.pdaweb.model.water.PdaWaterMeter;

/**
 * 
 * @author 
 *
 */
public interface PdaAmMeterDao extends BaseDao<PdaAmMeter>{

	/**
	 * 
	 * @param amId
	 * @return
	 */
	public PdaAmMeter getByAmId(String amId);

	/**
	 * 导出时的基础信息列表
	 * @author F3229233 2013-1-16 上午10:31:50 
	 * @return
	 */
	public List<PdaAmMeter> getAllForExcel();
	
	public List<PdaAmMeter> getAmExcel(String idS);
	
	
	/**
	 * 找出相应的电表
	 */
	public List<PdaAmMeter> getByPosition(String districtId,String buildingId);
	/**
	 * @param houseId  房号
	 * @return
	 */
	public List<PdaAmMeter> getByHouseId(String houseId);
	public PdaAmMeter getByBarcode(String barcode);

	public boolean isCrmMeterNoExist(String crmMeterNo);
	/**
	 * 暂停与恢复
	 */
	public boolean pauseAndResume(String recId,String vType,AppUser appUser,String dateT);
}